home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-01-19 | 1.6 KB | 78 lines | [TEXT/MPS ] |
- # File: Makefile
- # Target: Indent
- # Franklin Chen
- # Wed, Jan 19, 1994
-
- C = gC
- COptions = ∂
- -mc68020 ∂
- -warnings full ∂
- -opt full ∂
- -fomit-frame-pointer ∂
- -fstrength-reduce
-
- # C compiler -D options.
- DEFS = ∂
- -d MPW ∂
- -d USG ∂
- # -d HAVE_UNISTD_H ∂
- -d DIRENT ∂
- # -d VOID_CLOSEDIR
-
- LOptions = -d -c 'MPS ' -t MPST
-
- LIBS = ∂
- "{CLibraries}"GUSI.o ∂
- "{CLibraries}"StdClib.o ∂
- "{Libraries}"Stubs.o ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- "{Libraries}"ToolLibs.o
-
- #### End of system configuration section. ####
-
- SRC = indent.c io.c lexi.c parse.c pr_comment.c args.c globs.c ∂
- backup.c memcpy.c
- OBJ = indent.c.o io.c.o lexi.c.o parse.c.o pr_comment.c.o args.c.o globs.c.o ∂
- backup.c.o
- HEADERS = indent.h sys.h version.h backup.h
-
- # Make the program and documentation
- #
- all ƒ Indent
-
- Indent ƒƒ {OBJ}
- Link {LOptions} {OBJ} {LIBS} ∂
- -sg Main=indent,args,lexi,parse,globs,io,backup,pr_comment ∂
- -o Indent
- Indent ƒƒ Indent.r
- Rez "{RIncludes}"Cmdo.r Indent.r -a -o Indent
-
- .c.o ƒ .c
- {C} {COptions} {DEFS} -s {default} {depDir}{default}.c -o {targDir}{default}.c.o
-
-
- backup.c.o ƒ backup.c backup.h sys.h
- globs.c.o ƒ globs.c sys.h
-
- indent.c.o ƒ indent.c indent.h sys.h
- args.c.o ƒ args.c version.h indent.h sys.h
- io.c.o ƒ io.c indent.h sys.h
- lexi.c.o ƒ lexi.c indent.h sys.h
- parse.c.o ƒ parse.c indent.h sys.h
- pr_comment.c.o ƒ pr_comment.c indent.h sys.h
- memcpy.c.o ƒ memcpy.c indent.h sys.h
-
-
- # Installation of indent
- #
- install ƒ Indent install_already_built
-
- install_already_built ƒ
- Duplicate -y Indent "{MPW}"Tools:Indent
- Duplicate -y Indent.Help "{MPW}"
- Duplicate -y UserStartup•Indent "{MPW}"UserStartup•Indent
-
- clean ƒ
- Delete -i ≈.c.o ≈.makeout
-